package com.winter.mapper;

import com.winter.model.User;

import java.util.List;


public interface UserMapper {
    int deleteByPrimaryKey(long userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(long userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> selectAllUser();
    
    int deleteById(long userId);//软删除
}